package com.example.shop_2211.room

import androidx.room.Database
import androidx.room.RoomDatabase
import com.example.base.entity.History
import com.example.base.entity.LoginEntity

/**
 * 数据库----数据库持有者  表 版本  导出
 */
@Database(entities = [LoginEntity::class,History::class], version = 1, exportSchema = false)
abstract class AppDataBase:RoomDatabase() {
    abstract fun getUserDao():UserDao
    abstract fun getHisDao():HisDao
}